package com.example.service;

import com.example.mapper.EmpMapper;
import com.example.pojo.Emp;
import com.example.pojo.PageBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.ArrayList;

public interface EmpService {

    PageBean page(Integer page, Integer pageSize, String name, Short gender,
                  LocalDate begin, LocalDate end);

    void delete(ArrayList ids);

    void add(Emp emp);

    Emp selectById(Integer id);

    void update(Emp emp);

    Emp login(Emp emp);
}
